package com.woniu.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户文章收藏
 * </p>
 *
 * @author doujiao
 * @since 2022-10-12
 */
@Getter
@Setter
  @TableName("tb_article")
@ApiModel(value = "Article对象", description = "用户文章收藏")
public class Article implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("文章图片")
      private String image;

      @ApiModelProperty("文章标题")
      private String title;

      @ApiModelProperty("文章内容")
      private String description;

      @ApiModelProperty("文章分类")
      private String classify;

      @ApiModelProperty("医生id")
      private Long doctorId;

      @ApiModelProperty("排序")
      private Integer sort;

      @ApiModelProperty("发布状态（0未发布）")
      private String status;

      @ApiModelProperty("收藏数量")
      private String collectNum;

      @ApiModelProperty("开始时间")
      @TableField(fill = FieldFill.INSERT)
      private Date createTime;

      @ApiModelProperty("修改时间")
      @TableField(fill = FieldFill.INSERT_UPDATE)
      private Date updateTime;

      @ApiModelProperty("是否删除（0未删除）")
      private String isDelete;
}
